package com.boomsecret.pattern.strategy;

/**
 * Created by wangjinliang on 2018/1/24.
 */
public class Troll extends Character {

    public Troll() {
        this.weaponBehavior = new DefaultWeaponBehavior();
    }

    @Override
    void getCharacterName() {
        System.out.println("怪人");
    }

    @Override
    void fight() {
        this.weaponBehavior.fight();
    }
}
